<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>vue.js</title>
	<script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
	<div id="app">
		{{5+5}}<br>
		{{ok? 'YES' : 'NO'}}<br>
		{{message.split('').join('|')}}
		<div v-bind:id="'list-' + id">菜鸟教程</div>
	</div>
	<script type="text/javascript">
		var vm = new Vue({
			el: '#app',
			data: {
				ok: false,
				message: 'OK',
				id: 1
			}
		})
	</script>
</body>
</html>
